ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 11 - No. 44)

What is the purpose of using comments within an algorithm or its code?
To improve the execution speed of the algorithm.
To make the code longer and more complex.
To explain the code to someone else or to yourself later.
To declare variables.

Giải thích

Comments improve readability and understanding of the algorithm, and are there for the humans who are viewing/modifying the algorithm and code, not the computer.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc